<?php

namespace app\admin\controller;

use app\admin\services\PersonalCenterService;

class PersonalCenter extends \app\BaseController
{
    protected $middleware = [
        'CheckTokenMiddleware'
    ];
    public function index(){
        $id=$this->request->adminUid;
        PersonalCenterService::index($id);
    }
    public function edit(){
        $this->filterParam['id']=$this->request->adminUid;
        PersonalCenterService::edit($this->filterParam);
    }
    public function updatePwd(){
        $this->filterParam['id']=$this->request->adminUid;
        PersonalCenterService::updatePwd($this->filterParam);
    }
}
